package com.sto.stoapp.service;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;

/**
 * Created by wj on 2016-11-23.
 *
 * FilterBillService定时发送广播，广播再启动service，会执行到service的onStartCommand
 */

public class FilterBillReceive extends BroadcastReceiver{
    @Override
    public void onReceive(Context context, Intent intent) {
        Intent i = new Intent(context, FilterBillService.class);
        context.startService(i);
    }
}
